home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
os2
/
gnuwget.zip
/
wget-1.4.3
/
doc
/
Makefile
< prev
next >
Wrap
Makefile
|
1997-02-14
|
3KB
|
136 lines
# Generated automatically from Makefile.in by configure.
# Makefile for `wget' utility
# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Version: Wget/1.4.3
#
SHELL = sh
# Program to format Texinfo source into Info files.
MAKEINFO = makeinfo $(srcdir)/wget.texi
# Program to format Texinfo source into DVI files.
TEXI2DVI = texi2dvi
# Program to convert DVI files to PostScript
DVIPS = dvips -D 300
# Program to convert texinfo files to html
TEXI2HTML = texi2html -expandinfo -split_chapter
top_srcdir = ..
srcdir = .
prefix = f:/usr/local
infodir = ${prefix}/info
mandir = ${prefix}/man
manext = 1
sysconfdir = ${prefix}/etc
INSTALL = .././install-sh -c
INSTALL_DATA = ${INSTALL} -m 644
RM = rm -f
MAN = wget.$(manext)
WGETRC = $(sysconfdir)/wgetrc
#
# Dependencies for building
#
all: wget.cat wget.info
everything: all wget_us.ps wget_a4.ps wget_toc.html
wget.info: wget.texi
-$(MAKEINFO)
wget.cat: $(MAN)
nroff -man $(srcdir)/$(MAN) > wget.cat
wget.dvi: wget.texi
$(TEXI2DVI) $(srcdir)/wget.texi
wget_us.ps: wget.dvi
$(DVIPS) -t letter -o $@ wget.dvi
wget_a4.ps: wget.dvi
$(DVIPS) -t a4 -o $@ wget.dvi
wget_toc.html: wget.texi
$(TEXI2HTML) $(srcdir)/wget.texi
#
# Dependencies for installing
#
# install all the documentation
install: install.man install.info install.wgetrc
# uninstall all the documentation
uninstall: uninstall.man uninstall.info
# install info pages, creating install directory if necessary
install.info: wget.info
$(top_srcdir)/mkinstalldirs $(infodir)
-for file in $(srcdir)/wget.info*; do \
[ -f "$$file" ] && $(INSTALL_DATA) $$file $(infodir) ; \
done
# install man page, creating install directory if necessary
install.man:
$(top_srcdir)/mkinstalldirs $(mandir)/man$(manext)
$(INSTALL_DATA) $(srcdir)/$(MAN) $(mandir)/man$(manext)/$(MAN)
# install sample.wgetrc
install.wgetrc:
$(top_srcdir)/mkinstalldirs $(sysconfdir)
-if [ -f $(WGETRC) ]; then \
mv $(WGETRC) $(WGETRC).old ; \
fi
$(INSTALL_DATA) $(srcdir)/sample.wgetrc $(WGETRC)
# uninstall info pages
uninstall.info:
$(RM) $(infodir)/wget.info*
# uninstall man page
uninstall.man:
$(RM) $(mandir)/man$(manext)/$(MAN)
#
# Dependencies for cleanup
#
clean:
$(RM) *~ *.bak *.cat
$(RM) *.dvi *.aux *.cp *.cps *.fn *.toc *.tp *.vr *.ps *.ky *.pg *.log
distclean: clean
$(RM) Makefile
realclean: distclean
$(RM) wget.info*
#
# Dependencies for maintenance
#
subdir = doc
Makefile: Makefile.in ../config.status
cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status